
#include "BaseConnector.h"


BaseConnector::BaseConnector(Proactor* proactor,char* ip,unsigned short port)
	:TcpSocket(proactor,ip,port)
{

}


BaseConnector::~BaseConnector()
{

}

int BaseConnector::Connect()
{
	return TcpSocket::Connect();
}

int BaseConnector::Send(const char* buff,long &size,int flags)
{
	return TcpSocket::Send(buff,size,flags);
}

int BaseConnector::Recv(long size,int flags)
{
	return TcpSocket::Recv(size,flags);
}